package Var1022.Teacher;

public class Java extends Pet{
    public Java(String name, int age, int teachingage, char gender) {
        super(name, age, teachingage, gender);
    }

    public void java(){
        System.out.println(getName()+":熟悉java");
    }
}
